package mest.service.cxj;


import mest.Dto.cxj.WorkRouteDto;
import mest.entity.work_route;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WorkRouteService {

    /**
     * 新增工艺档案
     *
     * @param workRoute
     * @return
     */
    boolean insertWorkRoute(work_route workRoute,String theirDb);

    /**
     * 查询所有工艺及存货
     *
     * @param page
     * @param limit
     * @param routeName
     * @return
     */
    List<WorkRouteDto> selectAllWorkRouteAndSave(Integer page, Integer limit, String routeName,String theirDb);


    /**
     * 查询工艺档案数量
     *
     * @param routename
     * @return
     */
    Integer selectCountWorkRoute(String routename,String theirDb);

    /**
     * 假删数据
     */
    boolean deleteWorkRoute(Integer id,String theirDb);


}
